package com.promis.crypto.digest;

public class SHA256Digest extends BaseDigest {

	private final static String DIGEST_ALGORITHM = "SHA-256";
	
	private static SHA256Digest digest;
	
	public SHA256Digest() {
		super(DIGEST_ALGORITHM);
	}
	
	public synchronized static SHA256Digest getInstance() {
		if (digest == null) {
			digest = new SHA256Digest();
		}
		return digest;
	}
}
